Q3Point2D_DistanceSquared
You can use theQ3Point2D_DistanceSquared
function to determine the square of the distance between two two-dimensional points.
float Q3Point2D_DistanceSquared ( const TQ3Point2D *p1, const TQ3Point2D *p2);
p1
- A two-dimensional point.
p2
- A two-dimensional point.
DESCRIPTION
TheQ3Point2D_DistanceSquared
function returns, as its function result, the square of the distance between pointsp1
andp2
.